﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage/Principal.Master" CodeBehind="SubCategoriaCON.aspx.vb" Inherits="E_Lixo.SubCategoriaCON" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div align="center">
        <asp:Panel ID="Panel" runat="server" CssClass="stiloPanel" Width="90%">
            Consulta de SubCategorias:<br />
            <br />
            <asp:GridView ID="gvDados" runat="server" AutoGenerateColumns="False" 
                CellPadding="4" ForeColor="#333333" GridLines="None" 
                AllowPaging="True" Width="100%" PageSize="17">
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                <Columns>
                    <asp:BoundField DataField="sbc_codigo" HeaderText="Código" />
                    <asp:BoundField DataField="sbc_descricao" HeaderText="Descrição" />
                    <asp:BoundField DataField="cat_descricao" HeaderText="Categoria" />
                    <asp:HyperLinkField DataNavigateUrlFields="sbc_codigo" 
                        DataNavigateUrlFormatString="~/Cadastros/SubCategoriaCAD.aspx?id={0}" 
                        HeaderText="Detalhes" Text="Editar">
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemStyle CssClass="center" />
                    </asp:HyperLinkField>
                </Columns>
                <EditRowStyle BackColor="#999999" />
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#E9E7E2" />
                <SortedAscendingHeaderStyle BackColor="#506C8C" />
                <SortedDescendingCellStyle BackColor="#FFFDF8" />
                <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
            </asp:GridView>
            <br />
        </asp:Panel>
    </div>
</asp:Content>
